package com.cloudbroker.bcs.platform.ltb.middle.entity;

import com.cloudbroker.bcs.common.entity.StatusUpdatable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by daibd19671 on 2016/12/28.
 */
@Table(name="msg")
public class Msg extends StatusUpdatable {
    @Id
    protected Long msg_id;
    @Column
    protected String msg_title;
    @Column
    protected String msg_content;
    @Column
    protected Long create_time;
    @Column
    protected int msg_type;
    @Column
    protected String combine_code;

    @Column
    protected String view_flag;
    @Column
    protected String company_id;

    @Column
    protected Long user_id;
    @Column
    protected String tag;
    @Column
    protected Long push_time;

    public Long getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(Long msg_id) {
        this.msg_id = msg_id;
    }

    public String getMsg_title() {
        return msg_title;
    }

    public void setMsg_title(String msg_title) {
        this.msg_title = msg_title;
    }

    public String getMsg_content() {
        return msg_content;
    }

    public void setMsg_content(String msg_content) {
        this.msg_content = msg_content;
    }

    public Long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
    }

    public int getMsg_type() {
        return msg_type;
    }

    public void setMsg_type(int msg_type) {
        this.msg_type = msg_type;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public String getCombine_code() {
        return combine_code;
    }

    public void setCombine_code(String combine_code) {
        this.combine_code = combine_code;
    }

    public String getView_flag() {
        return view_flag;
    }

    public void setView_flag(String view_flag) {
        this.view_flag = view_flag;
    }

    @Override
    public String getCompany_id() {
        return company_id;
    }

    @Override
    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Long getPush_time() {
        return push_time;
    }

    public void setPush_time(Long push_time) {
        this.push_time = push_time;
    }
}
